<?php
/* @var $this UserController */
/* @var $model User */

$this->breadcrumbs=array(
		Yii::t('user_messages','user.manage')=>array('admin'),
	Yii::t('user_messages','user.view'),
);

$this->menu=array(
	array('label'=>Yii::t('user_messages','user.viewAll'), 'url'=>array('index')),
	array('label'=>Yii::t('user_messages','user.create'), 'url'=>array('create')),
	array('label'=>Yii::t('user_messages','user.update'), 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>Yii::t('user_messages','user.delete'), 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>Yii::t('default','delete.confirm'))),
	array('label'=>Yii::t('user_messages','user.manage'), 'url'=>array('admin')),
);
?>

<h1><?php echo Yii::t('user_messages','user.view'); ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	 'htmlOptions' => array(
		'class' => 'table table-striped table-condensed table-hover',
		),
		'data'=>$model,
		'attributes'=>array(
			'username',
			'fullname',
			'email',
			'mobile',
			array(
				'name'=>'role_id',
				'type'=>'raw',
				'value'=>Yii::t('default','role_'.$model->role_id),
			),

			array(
				'name'=>'isactive',
				'type'=>'raw',
				'value'=>Yii::t('default','status_'.$model->isactive),
			),
	),
)); ?>
